<?php
namespace Infinity;


class DatabaseCondition extends \DatabaseCondition {
  /**
   * @param $alias
   * @param $field
   * @param string $column
   * @param $value
   * @param string $operator
   * @return DatabaseCondition
   */
  public function fieldConditionWithoutJoin($alias, $field, $column='value', $value, $operator = '='){
    return $this->condition($alias.'.'.$field.'_'.$column, $value, $operator);
  }
} 